package com.lib76.buildCode.model;

/**
 * 表字段对象
 * @author 张浩
 * @version 0.0.2
 */
public class TableFieldEntity {

	private String code;	//表字段代码
	private String name;	//表字段名称
	private String type;	//表字段类型
	private Long length;	//表字段长度
	private Boolean IsNullable = false;	//是否可为空
	private Boolean isKey = false;		//是否是主键
	
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public Long getLength() {
		return length;
	}
	public void setLength(Long length) {
		this.length = length;
	}
	public Boolean getIsNullable() {
		return IsNullable;
	}
	public void setIsNullable(Boolean isNullable) {
		IsNullable = isNullable;
	}
	public Boolean getIsKey() {
		return isKey;
	}
	public void setIsKey(Boolean isKey) {
		this.isKey = isKey;
	}
}
